package com.zq.spring.service.impl;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @Author: zhaoqi
 * @Date: 2020/4/24 9:36
 * @Version 1.0
 */

public class JSR250WayServiece {

    @PostConstruct
    public void init(){
        System.out.println("JSR250-init-method");
    }

    public JSR250WayServiece(){
        super();
        System.out.println("初始化构造参数-JSR250WayServiece");
    }

    @PreDestroy
    public void destory(){
        System.out.println("JSR250--destory-method");
    }

}
